[VERSN2]
watermark "Mod made by YochiThMaster333"

add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_SKYLINEZT SECONDARY_LOGO_SKYLINEZT "SkyZTParts\SECONDARY_LOGO_SKYLINEZT.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_NISSAN CARSELECT_MANUFACTURER_NISSAN "SkyZTParts\CARSELECT_MANUFACTURER_NISSAN.dds"
bind_textures synchronize FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES "SkyZTParts\TuningIcons"

// Strings
append "Strings\English.end"
append "Strings\French.end"
append "Strings\German.end"
append "Strings\Italian.end"
append "Strings\Russian.end"
append "Strings\Spanish.end"
append "Strings\Danish.end"
append "Strings\Dutch.end"
append "Strings\Finnish.end"
append "Strings\Swedish.end"
append "Strings\Polish.end"
append "Strings\Chinese.end"
append "Strings\Korean.end"

// Those files are actually unloaded to save RAM, so don't worry ^^
delete FRONTEND\FRONTB.LZC


if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT
else
end

if collection_exists GLOBAL\GLOBALB.LZC Collisions SKYLINEZT
do
remove_collection GLOBAL\GLOBALB.LZC Collisions SKYLINEZT
else
end

if collection_exists GLOBAL\GLOBALB.LZC Materials YTMPAINTMPIII
do
remove_collection GLOBAL\GLOBALB.LZC Materials YTMPAINTMPIII
else
end

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos PUNTO SKYLINEZT
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DefaultBasePaint SKYLINEZT_PAINT_ZTUNE
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT ManufacturerName NISSAN
copy_collection GLOBAL\GLOBALB.LZC Collisions PUNTO SKYLINEZT
import override GLOBAL\GLOBALB.LZC DBModelParts SkyZTParts\SKYLINEZT.bin

copy_collection GLOBAL\GLOBALB.LZC Materials METPAINTRED YTMPAINTMPIII
update_collection GLOBAL\GLOBALB.LZC Materials YTMPAINTMPIII SpecularPower 10
update_collection GLOBAL\GLOBALB.LZC Materials YTMPAINTMPIII SpecularMaxRed 1
update_collection GLOBAL\GLOBALB.LZC Materials YTMPAINTMPIII SpecularMinRed 1
update_collection GLOBAL\GLOBALB.LZC Materials YTMPAINTMPIII SpecularMinBlue 0.75
update_collection GLOBAL\GLOBALB.LZC Materials YTMPAINTMPIII SpecularMaxBlue 0.75
update_collection GLOBAL\GLOBALB.LZC Materials YTMPAINTMPIII SpecularMinLevel 3
update_collection GLOBAL\GLOBALB.LZC Materials YTMPAINTMPIII SpecularMaxLevel 0.5
update_collection GLOBAL\GLOBALB.LZC Materials YTMPAINTMPIII EnvmapPower 0.35
update_collection GLOBAL\GLOBALB.LZC Materials YTMPAINTMPIII EnvmapMinLevel 3.5
update_collection GLOBAL\GLOBALB.LZC Materials YTMPAINTMPIII EnvmapMaxLevel 0.2

if directory_exists absolute CARS\SKYLINEZT
do
else
create_folder absolute CARS\SKYLINEZT
end

move_file override relative absolute Main\GEOMETRY.BIN CARS\SKYLINEZT\GEOMETRY.BIN
move_file override relative absolute Main\TEXTURES.BIN CARS\SKYLINEZT\TEXTURES.BIN

combobox "Standard Resolution (512x)" "High Resolution (1024x)" "Choose vinyls resolution."

"Standard Resolution (512x)"
move_file override relative absolute Vinyls\512.BIN CARS\SKYLINEZT\VINYLS.BIN

"High Resolution (1024x)"
move_file override relative absolute Vinyls\1024.BIN CARS\SKYLINEZT\VINYLS.BIN

end

combobox "Z-Tune" "V-Spec" "Choose your trim."

"Z-Tune"
move_file override relative absolute SkyZTParts\SKYLINEZT.ini scripts\UnlimiterData\SKYLINEZT.ini

"V-Spec"
move_file override relative absolute SkyZTParts\SKYLINEZT_VS.ini scripts\UnlimiterData\SKYLINEZT.ini

end

combobox "Z-Tune Silver" "Midnight Purple III" "Bay Side Blue" "White" "Lightning Yellow" "Active Red" "Sonic Silver" "Black Pearl" "Athlete Silver" "Eddie (custom)" "Choose your stock color."

"Z-Tune Silver"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DefaultBasePaint SKYLINEZT_PAINT_ZTUNE

"Midnight Purple III"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DefaultBasePaint SKYLINEZT_PAINT_PURPLE

"Bay Side Blue"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DefaultBasePaint SKYLINEZT_PAINT_BLUE

"White"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DefaultBasePaint SKYLINEZT_PAINT_WHITE

"Lightning Yellow"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DefaultBasePaint SKYLINEZT_PAINT_YELLOW

"Active Red"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DefaultBasePaint SKYLINEZT_PAINT_RED

"Sonic Silver"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DefaultBasePaint SKYLINEZT_PAINT_SONIC

"Black Pearl"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DefaultBasePaint SKYLINEZT_PAINT_BLACK

"Athlete Silver"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DefaultBasePaint SKYLINEZT_PAINT_ATHLETE

"Eddie (custom)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SKYLINEZT DefaultBasePaint SKYLINEZT_PAINT_EDDIE

end
